home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 95
/
MOBICLIC 95.ISO
/
mac
/
MWB_DATA
/
TCH095
/
TCH095_02
/
tch095_02.swf
/
scripts
/
frame_66
/
DoAction.as
Wrap
Text File
|
2007-06-28
|
933b
|
35 lines
_root.gAllowFlags = 1;
_root.ST.masquerText();
_root.gListNomVilles = ["Madrid","Zaragoza","Barcelona","Malaga","Sevilla","Cordoba","Valencia","Alicante","Bilbao","Salamanca"];
listAllVilles = [1,2,3,4,5,6,7,8,9,10];
_root.gListVilles = [];
i = 0;
while(i <= 9)
{
lElement = _root.randRange(0,listAllVilles.length - 1);
_root.gListVilles.push(listAllVilles[lElement]);
listAllVilles.splice(lElement,1);
i++;
}
listAllMeteo = [1,2,3,4,5,6];
_root.gListMeteo = [];
i = 0;
while(i <= 5)
{
lElement = _root.randRange(0,listAllMeteo.length - 1);
_root.gListMeteo.push(listAllMeteo[lElement]);
listAllMeteo.splice(lElement,1);
i++;
}
listAllMeteo = [1,2,3,4,5,6];
i = 0;
while(i <= 3)
{
lElement = _root.randRange(0,listAllMeteo.length - 1);
_root.gListMeteo.push(listAllMeteo[lElement]);
listAllMeteo.splice(lElement,1);
i++;
}
_root.gVille = 0;
_root.gAllowDrag = 0;